package com.taosdata.example.springbootdemo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("weather")
public class Weather implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField("ts")
    private Timestamp ts;

    @TableField("temperature")
    private Integer temperature;

    @TableField("humidity")
    private Integer humidity;

}
